# coding=utf-8
from scrapy import cmdline
# name = 'provinceSpider -o provinceSpider.csv'
name = 'provinceSpider'
cmd = F'scrapy crawl {name}'
cmdline.execute(cmd.split()) # 相当于执行一个CMD命令